package base.Day02;


public class IntDemo
{
    public static void main(String[] args)
    {
        int intMax = Integer.MAX_VALUE;
        int intMin = Integer.MIN_VALUE;
        System.out.println(intMax);
        System.out.println(intMin);
        System.out.println((long)intMax+1);
        int a = new Integer(1000);
        System.out.println((long)a * 1000000000);
        long longMax = Long.MAX_VALUE;
        long longMin = Long.MIN_VALUE;
        System.out.println(longMax);
        System.out.println(longMin);
        System.out.println(Long.SIZE);  // 输出的是位数  b
        System.out.println(Integer.SIZE);
        System.out.println();
        long b = 100;
        System.out.println(b);
    }
}
